﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="BVVD_Website.WebForm1" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>

        <script type="text/javascript">
            function closeCustomConfirm() {
                $find("<%=rw_customConfirm.ClientID %>").close();
        }
    </script>
    <telerik:RadWindowManager ID="RadWindowManager1" EnableViewState="false" runat="server" EnableShadow="true">
        <Windows>
            <telerik:RadWindow ID="rw_customConfirm" Modal="true" OpenerElementID="<%# btnShow.ClientID %>"   Behaviors="Close, Move" VisibleStatusbar="false"
                Width="300px" Height="200px" runat="server">
                <ContentTemplate>
                    <div class="rwDialogPopup radconfirm">
                        <div class="rwDialogText">
                            <asp:Literal ID="confirmMessage" Text="" runat="server" />
                        </div>
                        <div>
                            <telerik:RadButton runat="server" ID="rbConfirm_OK" Text="OK" OnClick="rbConfirm_OK_Click">
                            </telerik:RadButton>
                            <telerik:RadButton runat="server" ID="rbConfirm_Cancel" Text="Cancel" OnClientClicked="closeCustomConfirm">
                            </telerik:RadButton>
                        </div>
                    </div>
                </ContentTemplate>
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
    <asp:Button runat="server" ID="btnShow" Text="OKK" OnClick="btnShow_Click" />
    </form>
</body>
</html>
